package com.gszyxy.bigdataclass1group3.merchant.service;

import com.gszyxy.bigdataclass1group3.consumer.pojo.Consumer;
import com.gszyxy.bigdataclass1group3.merchant.params.MerchantRequestParams;
import com.gszyxy.bigdataclass1group3.merchant.pojo.Goods;
import com.gszyxy.bigdataclass1group3.merchant.pojo.Merchant;

import java.util.List;

public interface MerchantService {
    int addMerchant(MerchantRequestParams merchantRequestParams);
    Merchant findMerchantByName(String mname);
    Merchant login(MerchantRequestParams merchantRequestParams);
    int updateMerchant(Merchant merchant);
    int addGoods(Goods goods);
    List<Goods> findAllGoods();


    List<Merchant> list();
}
